Skip to content

Conversation

@marc-antoine-girard
Copy link
Contributor

Description

Adds a None option in Assets, Classes and Scenes Categories.
This is done in SerializableInterfaceAdvancedDropdown.cs, but could've easily been done in every AdvancedDropdownItem Builder (e.g. SceneItemBuilder...). I would argue there's benefits in both methods.

A side effect of adding a None option in every Category is that they all show they contain something. This changes the previous behaviour, but makes it so that the Categories always display in the same order. This makes using the Dropdown more intuitive and helps build muscle memory.

Note

Also added a Clear context menu, but this was technically out of scope. Just really simple to add... :v

Issue

This fixes #24

@Thundernerd Thundernerd merged commit ffff1a5 into Thundernerd:main Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a None option in CustomDrawers

2 participants